-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new fsbp controls #457
Conversation
else 'alarm' | ||
end as status, | ||
case | ||
when instance_state <> 'running' then title || ' is in ' || instance_state || ' state.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when instance_state <> 'running' then title || ' is in ' || instance_state || ' state.' | |
when instance_state <> 'running' then title || ' is in ' || instance_state || ' state.' |
end as status, | ||
case | ||
when posix_user is null then title || ' does not enforce a user identity.' | ||
else title || ' enforce a user identity.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
else title || ' enforce a user identity.' | |
else title || ' enforces a user identity.' |
else 'ok' | ||
end as status, | ||
case | ||
when pid_mode = 'host' then title || ' share the host process namespace.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when pid_mode = 'host' then title || ' share the host process namespace.' | |
when pid_mode = 'host' then title || ' shares the host process namespace.' |
end as status, | ||
case | ||
when c.arn is null then d.title || ' does not have elevated privileges.' | ||
else d.title || ' have elevated privileges.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
else d.title || ' have elevated privileges.' | |
else d.title || ' has elevated privileges.' |
case | ||
when virtualization_type = 'paravirtual' then title || ' virtualization type is paravirtual.' | ||
else title || ' virtualization type is ' || virtualization_type || '.' | ||
end as reason, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
case | |
when virtualization_type = 'paravirtual' then title || ' virtualization type is paravirtual.' | |
else title || ' virtualization type is ' || virtualization_type || '.' | |
end as reason, | |
title || ' virtualization type is ' || virtualization_type || '.' as reason, |
end as status, | ||
case | ||
when o.arn is null then title || ' does not have deprecated SSL protocols.' | ||
else title || ' have deprecated SSL protocols.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
else title || ' have deprecated SSL protocols.' | |
else title || ' has deprecated SSL protocols.' |
case | ||
when metadata_options_put_response_hop_limit > 1 then title || ' metadata response hop limit is greater than 1.' | ||
else title || ' metadata response hop limit is not greater than 1.' | ||
end as reason, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
case | |
when metadata_options_put_response_hop_limit > 1 then title || ' metadata response hop limit is greater than 1.' | |
else title || ' metadata response hop limit is not greater than 1.' | |
end as reason, | |
title || ' has a metadata response hop limit of ' || metadata_options_put_response_hop_limit || '.' as reason |
benchmark.foundational_security_sqs, | ||
benchmark.foundational_security_ssm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
benchmark.foundational_security_sqs, | |
benchmark.foundational_security_ssm | |
benchmark.foundational_security_ssm | |
benchmark.foundational_security_sqs, |
@@ -0,0 +1,3 @@ | |||
## Overview | |||
|
|||
This section contains recommendations for configuring AWS EKS resources and options. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the descriptions missing?
|
||
1. Open the [Amazon ECS console](https://console.aws.amazon.com/ecs/). | ||
2. In the left navigation pane, choose `Task Definitions`. | ||
3.For each task definition that has container definitions that need to be updated, do the following: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3.For each task definition that has container definitions that need to be updated, do the following: | |
3. For each task definition that has container definitions that need to be updated, do the following: |
when version = '1.22' then title || ' runs on a lastet kubernetes version.' | ||
else title || ' does not run on a lastet kubernetes version.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when version = '1.22' then title || ' runs on a lastet kubernetes version.' | |
else title || ' does not run on a lastet kubernetes version.' | |
when version = '1.22' then title || ' runs on a latest kubernetes version.' | |
else title || ' does not run on a latest kubernetes version.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make changes wherever required
Checklist
query/autoscaling/autoscaling_launch_config_hop_limit.sql
query/autoscaling/autoscaling_launch_config_requires_imdsv2.sql
query/ec2/ec2_instance_no_amazon_key_pair.sql
query/ec2/ec2_instance_virtualization_type_no_paravirtual.sql
query/elb/elb_application_gateway_network_lb_multiple_az_configured.sql
query/elb/elb_application_lb_desync_mitigation_mode.sql
query/elb/elb_classic_lb_desync_mitigation_mode.sql
query/eks/eks_cluster_with_latest_kubernetes_version.sql
query/cloudfront/cloudfront_distribution_no_deprecated_ssl_protocol.sql
query/ecr/ecr_repository_tag_immutability_enabled.sql
query/ecs/ecs_service_fargate_using_latest_platform_version.sql